package sameClasses;

import javax.swing.JPanel;

public abstract class xxxGui {
  
  private static User myUser;
  private int myId;
  
  protected xxxGui(User user) {
    if ((Gui.myUser == null)) {
      Gui.myUser = user;
      this.myId = -1;
    }
  }
  
  public String getName() {
    return new String("GUI OBERKLASSE");
  }
  
  public User getUser() {
    return Gui.myUser;
  }
  
  public JPanel buildGui() {
    return new JPanel();
  }
  
  public int getId() {
    return this.myId;
  }
}
